import AjaxPlugin from '@/http'

// 获取微信信息
export const fetchWechat = () => {
  return AjaxPlugin.$http.get(`/wechat`).then(r => r.data)
}

// 获取微信信息
export const fetchSign = (url) => {
  return AjaxPlugin.$http.get(`/v1/wechat/sign?url=` + url).then(r => r.data)
}
